package com.hw.paltfrom.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 刘哥
 * @since 2019-11-06
 */
@Component
@TableName("HW_Base_WorkFlow")
public class HwBaseWorkflow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * GUID
     */
    @TableId("WorkFlow_ID")
    private String workflowId;

    /**
     * 所属模块(指挥调度01、执法监管02、设备管理03）
     */
    @TableField("WorkFlow_Module")
    private String workflowModule;

    /**
     * 所属流程类型：
     * 1、指挥调度流程 (异地复检YDFJ、移交YJ、市级举报及其他SJJB、县级创建举报及其他XJJB）；
     * 2、执法监管流程（散货执法流程SHZF、农产品执法流程NCPZH、不可解体执法流程BKJTZH、自动放行执法流程ZDYXZH）
     */
    @TableField("WorkFlow_Type")
    private String workflowType;

    /**
     * 当前阶段编号(对应阶段编号）
     */
    @TableField("WorkFlow_Code")
    private String workflowCode;

    /**
     * 当前阶段名称
     */
    @TableField("WorkFlow_CodeName")
    private String workflowCodename;

    /**
     * 应操作单位类型(市1、县2、超限检测站3）
     */
    @TableField("WorkFlow_DepCodeType")
    private String workflowDepcodetype;

    /**
     * 下一阶段编号(无下个阶段为0）
     */
    @TableField("WorkFlow_NextCode")
    private String workflowNextcode;

    /**
     * 下一阶段名称(无下个阶段为:无）
     */
    @TableField("WorkFlow_NextCodeName")
    private String workflowNextcodename;

    /**
     * 添加日期
     */
    @TableField("F_CreateDate")
    private LocalDateTime fCreatedate;

    /**
     * 创建用户主键
     */
    @TableField("F_CreateUserId")
    private String fCreateuserid;

    /**
     * 创建用户名
     */
    @TableField("F_CreateUserName")
    private String fCreateusername;

    public String getWorkflowId() {
        return workflowId;
    }

    public void setWorkflowId(String workflowId) {
        this.workflowId = workflowId;
    }

    public String getWorkflowModule() {
        return workflowModule;
    }

    public void setWorkflowModule(String workflowModule) {
        this.workflowModule = workflowModule;
    }

    public String getWorkflowType() {
        return workflowType;
    }

    public void setWorkflowType(String workflowType) {
        this.workflowType = workflowType;
    }

    public String getWorkflowCode() {
        return workflowCode;
    }

    public void setWorkflowCode(String workflowCode) {
        this.workflowCode = workflowCode;
    }

    public String getWorkflowCodename() {
        return workflowCodename;
    }

    public void setWorkflowCodename(String workflowCodename) {
        this.workflowCodename = workflowCodename;
    }

    public String getWorkflowDepcodetype() {
        return workflowDepcodetype;
    }

    public void setWorkflowDepcodetype(String workflowDepcodetype) {
        this.workflowDepcodetype = workflowDepcodetype;
    }

    public String getWorkflowNextcode() {
        return workflowNextcode;
    }

    public void setWorkflowNextcode(String workflowNextcode) {
        this.workflowNextcode = workflowNextcode;
    }

    public String getWorkflowNextcodename() {
        return workflowNextcodename;
    }

    public void setWorkflowNextcodename(String workflowNextcodename) {
        this.workflowNextcodename = workflowNextcodename;
    }

    public LocalDateTime getfCreatedate() {
        return fCreatedate;
    }

    public void setfCreatedate(LocalDateTime fCreatedate) {
        this.fCreatedate = fCreatedate;
    }

    public String getfCreateuserid() {
        return fCreateuserid;
    }

    public void setfCreateuserid(String fCreateuserid) {
        this.fCreateuserid = fCreateuserid;
    }

    public String getfCreateusername() {
        return fCreateusername;
    }

    public void setfCreateusername(String fCreateusername) {
        this.fCreateusername = fCreateusername;
    }

    @Override
    public String toString() {
        return "HwBaseWorkflow{" +
                "workflowId=" + workflowId +
                ", workflowModule=" + workflowModule +
                ", workflowType=" + workflowType +
                ", workflowCode=" + workflowCode +
                ", workflowCodename=" + workflowCodename +
                ", workflowDepcodetype=" + workflowDepcodetype +
                ", workflowNextcode=" + workflowNextcode +
                ", workflowNextcodename=" + workflowNextcodename +
                ", fCreatedate=" + fCreatedate +
                ", fCreateuserid=" + fCreateuserid +
                ", fCreateusername=" + fCreateusername +
                "}";
    }
}
